import {http} from "../request"

export const addShoppingApi = async(shoppingName:string,bookId:number)=>{
    const Token = localStorage.getItem("userToken")
    return await http.post(`/shoppingCar/addShopping?shoppingName=${shoppingName}&bookId=${bookId}`,"",{
        headers:{
            jwt:Token
        }
    })
}